package com.ynwa.thread;

/**
 * @author gzd
 * @date 2018/4/23 11:03
 * @desc input the desc
 */
public class BaseImplThreadMain {

    public static void main( String[] args )
    {
//        BaseImplThread1 thread1 = new BaseImplThread1();
//        thread1.start();
        for (int i = 0; i < 10; i++) {
            BaseImplThread2 thread2 = new BaseImplThread2();
            Thread thread = new Thread(thread2);
            thread.start();
        }

        System.out.println("main thread id is:" + Thread.currentThread().getId());
    }
}
